﻿<html>
<head>
<title>WebTalk</title>
<link rel="stylesheet" href="static/css/chat.css">
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">

<!--[if lt IE 9]>
    <script src="/static/js/html5shiv.js"></script>
    <script src="/static/js/respond.min.js"></script>
<![endif]-->
</head>

<body onload="windows_onload()" onunload="windows_unonload()">

<nav class="navbar navbar-default navbar-inverse" role="navigation">
	<div class="navbar-header">
		<a class="navbar-brand" href="#">WebTalk 1.0</a>
	</div>
</nav>

<form class="form-horizontal" role="form">
    <div class="form-group">
        <label class="col-sm-1 control-label">用户名:</label>
		<div class="col-sm-4">
            <input type="text" class="form-control" id="tbxUsername" placeholder="游客">
		</div>
		<input id="btnLogin" type="button" class="btn btn-primary btn-sm" value="登录" onclick="btnLogin_onclick()">
        <input id="btnLogout" type="button" class="btn btn-warning btn-sm" value="退出" onclick="btnLogout_onclick()">
    </div>
</form>
<!--
<div id="divContainer1">
    <table id="tbDlg" border="0" cellpadding="3" cellspacing="0" width="100%">
	    <tr id="trDlg">
		    <td id="tdDlg" width="5">
		    	<form class="form-horizontal" role="form">
			    <span class="label label-success">用户名: &nbsp;</span>
				<input id="tbxUsername" type="text" value="游客" size="20">
				<input id="btnLogin" type="button" class="btn btn-primary btn-sm" value="登录" onclick="btnLogin_onclick()">
				<input id="btnLogout" type="button" class="btn btn-warning btn-sm" value="退出" onclick="btnLogout_onclick()">
			    </form>
			</td>
		</tr>
	</table>
</div>
-->
<div id="divLeft">
    <div id="divchat"></div>
	<div id="divContainer1">
	    <table id="tbDlg" border="0" cellpadding="3" cellspacing="0" width="100%">
		    <tr id="trDlg">
			    <td valign="top" id="tdDlg" nowrap></td>
				<td valign="top" id="tdDlg">
				    <textarea id="tbxMsg" cols="255" rows="5" style="width:100%" class="form-control"></textarea>
				</td>
				<td valign="top" id="tdDlg">
				    <input id="btnSend" type="button" class="btn btn-primary btn-sm" value="发送" onclick="btnSend_onclick();">
				</td>
			</tr>
		</table>
	</div>
</div>
<div id="divRight">
    用户列表:
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="static/js/chat.js"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/static/js/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="/static/js/bootstrap.min.js"></script>

</body>


</html>